<template>
  <div class="app">
    <MyNav></MyNav>
    <div class="right">
      <MyHeader></MyHeader>
      <MyMain></MyMain>
      <MyFooter></MyFooter>
    </div>
  </div>
</template>

<script>
import MyNav from "./components/MyNav.vue";
import MyHeader from "./components/MyHeader.vue";
import MyMain from "./components/MyMain.vue";
import MyFooter from "./components/MyFooter.vue";

export default {
  components: {
    MyNav,
    MyHeader,
    MyMain,
    MyFooter
  }
};
</script>

<style>
body,
html {
  width: 100%;
  height: 100%;
}
.app {
  height: 100%;
  display: flex;
}
.app .right {
  flex: 1;
  display: flex;
  flex-direction: column;
}
</style>